<?php if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); } ?>

<script type="text/javascript">/* <![CDATA[ */
jQuery(function () {
    jQuery('#itx-tabbed-options').tabs();

    jQuery('#itx-layout #column').change(function(){
        jQuery(this).next().children().hide().siblings("#" + this.value).show();
    });

    var w=[,99,49,32,24,19,15.8];
    jQuery("#itop,#ibottom,#ifooter").change(function(){
        var id=jQuery(this).attr('id');
        jQuery("#itx-layout #"+id+"p").children().css('width',w[this.value]+'%');
    });

    jQuery('#itx-layout #column,#itop,#ibottom,#ifooter').change();

    jQuery('#itx-navigation .checkall').click(function () {
            jQuery(this).parents('.option').find(':checkbox').attr('checked', this.checked);
    });
});
/* ]]> */</script>

<div class="wrap" id="itx-theme-options">
<h2>Theme Options for Albizia</h2>
<table><tr><td id="sidel">
<form method="post" action="options.php">
<?php settings_fields('itx-options'); ?>
<div id="itx-tabbed-options">
<ul>
    <li><a href="#itx-layout"><?php _e('Layout', 'itx') ?></a></li>
    <li><a href="#itx-front"><?php _e('Front Page', 'itx') ?></a></li>
    <li><a href="#itx-header"><?php _e('Header', 'itx') ?></a></li>
    <li><a href="#itx-bg"><?php _e('Background', 'itx') ?></a></li>
    <li><a href="#itx-navigation"><?php _e('Navigation Menu', 'itx') ?></a></li>
    <li><a href="#itx-links"><?php _e('Links', 'itx') ?></a></li>
    <li><a href="#itx-misc"><?php _e('Misc', 'itx') ?></a></li>
</ul>
<?php
include 'layout.php';
include 'front.php';
include 'header.php';
include 'bg.php';
include 'navigation.php';
include 'links.php';
include 'misc.php';
?>
</div>
<input type="submit" name="Submit" class="button-primary"  value="Update Options" />
<button type="submit" name="itx_reset" class="button-secondary"  value="1">Reset to default Options</button>
</form></td>
<td id="sider">
<div class="postbox">
    <h3>Version</h3>
    <br />
    <p>Your version: <strong><?php echo THEME_VERSION;?></strong></p>
    <br />
</div>
<div class="postbox">
    <br />
    <p>Albizia Theme is bundled with <b>Tabbed Sidebar Widget</b>. You can set the widget <a href="widgets.php">here</a>. </p>
    <br />
</div>
<div class="postbox">
    <br />
    <p>If you confused how to use Albizia, the default options is okay for you. But if you eagerly want to utilize everything in Albizia, you can drop a simple question or very difficult one to <a href="http://albizia.itx.web.id">us</a>. </p>
    <br />
</div>
</td></tr></table>
</div>